package com.sc.javaee.service;

import com.sc.javaee.pojo.Products;

import java.util.List;

public interface ProductsService {
    List<Products> getProducts(Integer categoryId);
    List<Products> getRandomProducts();
    List<Products> searchProducts(Integer categoryId, String keyword);
    List<Products> searchAllProducts(String keyword);
    Products getProductDetail(Integer productId);
}
